import fetch from 'utils/fetch';
// 类别下拉
export function getDataItemList() {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getDataItemList',
        method: 'get'
    });
}
// 关键字下拉
export function getKeyWordsList() {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getKeyWordsList',
        method: 'get'
    });
}
// 分页
export function getModelShowPage(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getModelShowPage',
        method: 'post',
        data: obj
    });
}
// 编辑回显
export function getDataChannelDetail(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getDataChannelDetail',
        method: 'get',
        params: query
    });
}
// 编辑保存
export function updateDataChannel(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/updateDataChannel',
        method: 'post',
        data: obj
    });
}
// 启用禁用
export function enableDataChannel(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/enableDataChannel',
        method: 'get',
        params: query
    });
}
// 模型展示
export function getModelShow(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getModelShow',
        method: 'get',
        params: query
    });
}